package cn.edu.gsau.info.service;

import cn.edu.gsau.info.models.Rongyuchenghao;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jinjiang
 * @since 2022-11-17
 */
public interface IRongyuchenghaoService extends IService<Rongyuchenghao> {
    //通过填报人id查询
    IPage selectById(long id);
    //通过荣誉称号id查询
    Rongyuchenghao selectByRongyuchenghaoId(int id);
    //通过关键字查询
    List<Rongyuchenghao> selectByStr(String string);
    //通过状态查询
    List<Rongyuchenghao> selectByStatus(String stauts);
    //通过关键字和状态查询
    List<Rongyuchenghao> selectLike(String string, String status);
    //添加数据
    void add(Rongyuchenghao rongyuchenghao);
}
